package com.crazypos.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_category")
public class CategoryEntity extends BaseEntity{

    @TableId(value="id",type= IdType.ASSIGN_UUID)
    private String id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "is_system")
    private Integer isSystem;

    @TableField(value = "slug")
    private String slug;

    @TableField(value = "created_by")
    private String createdBy;

    @TableField(value = "organization_id")
    private String organizationId;

}
